package com.dhecp.project.purchase.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.purchase.domain.OfflinePaymentSon;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OfflinePaymentSonMapper extends GenericDao<OfflinePaymentSon, String> {

    /**
     *@Description: 根据母件获得子件
     *@Param: [fBm]
     *@return: java.util.List<com.dhecp.project.business.domain.OfflinePaymentSon>
     *@Author: hlf
     *@date: 2022-08-19 14:26
     */
    List<OfflinePaymentSon> querySonListByPNid(Map<String, Object> params);

    List<OfflinePaymentSon> queryListNid(@Param("pNid") String pNid);

    List<OfflinePaymentSon> querySonList(@Param("orderID") String orderID);

    int deleteNid (String pNid);

}
